package engine.mapping;


import jakarta.servlet.Servlet;

public class ServletMapping extends AbstractMapping{
    public final Servlet servlet;

    public ServletMapping (String urlPattern,Servlet servlet){
        super(urlPattern);      //将路径编译为正则表达式
        this.servlet = servlet;
    }

}
